<ul id="sidebar" class="noul">
       <?php //MOD: use a filter to see if this is a training page, do targetselect widget if so
       $training = apply_filters('mct_eco_intraining','eco_sidebar');
       if ($training == 'yes') {
           the_widget('mct_ai_targetselect', array(), array());
       } else {
       ?>
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('right_sidebar') ) : ?>

	<h1><?php _e('Sidebar'); ?></h1>
	<?php _e('Populate your sidebar with widgets'); ?>
	
	<?php endif; }?>
</ul><!-- sidebar //-->